/* --------------- reset.css --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i,  dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;                               /* обнуляем отступы и убираем бордюры */
	vertical-align: baseline;          /* приводим все к одной базовой линии */
	background: transparent;      /* чтобы не проскакивали левые фоны, установленные по умолчанию */
	font-size: 100%;                     /* размер шрифта всем одинаковый */
}
a {                                      	     /* ссылка не в общем списке чтобы не сбрасывать outline по умолчанию */
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	outline:none;
}
table {						/* устраняем отступы между ячейками таблицы */
	border-collapse: collapse; 
	border-spacing: 0;
}
td, td img {
	vertical-align: top;			/* возвращаем привычное вертикальное выравнивание */
} 
input, select, button, textarea {
	margin: 0; 				/* убираем отступы по умолчанию для элементов форм (в частности для checkbox и radio) */
	font-size: 100%; 			/* делаем размер шрифтов везде одинаковым */
	outline: none;
}
input[type="text"], input[type="password"], textarea {
	padding: 0; 				/* убираем внутренние отступы для текстовых полей */
}
input[type="checkbox"] { 		/* вертикальное выравнивание чекбоксов и радиобатонов относительно меток */
	vertical-align: bottom;
}
input[type="radio"] {
	vertical-align: text-bottom;
}
sub {
	vertical-align: sub;
	font-size: smaller;
}
sup {
	vertical-align: super;
	font-size: smaller;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display:block;
}
nav ul {
	 list-style:none;
}
/* --------------- /reset.css --------------- */

/* --------------- базовые настройки ---------*/
html {
	min-height:100%; /* всегда показываем вертикальную полосу прокрутки  */
}
body {
	background-image: url(../img/fontest1.jpg);
	background-position: left bottom;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: Arial, sans-serif; 
	color: #000;
	text-align: left;
	font-size: 1em; /* используем безопасные шрифтовые CSS стеки */
	min-height:100%;
}
a, a:visited { /* порядок правил для ссылок имеет значение */
	color: #e6618c;
	text-decoration: underline;
}
a:hover {
	color: #fdf208;
	text-decoration:none;
}
a:focus, a:active {
	color: #c83867;
	text-decoration: underline;
}
h1, h2, h3, h4, h5, h6{
	font-weight:normal;
}
img{

	max-width:100%;
}
.clr{
	clear:both;
}
.clearfix:after {
    clear: both;
    content: "";
    display: table;
}
/* --------------- /базовые настройки ---------*/
.center-fon{
	position: relative;
	background: rgba(75, 0, 130, 0.7);
	border: 2px solid #4b0082;
	border-radius: 25px;
  	margin-top: 140px;
	margin-bottom: 50px;
}
.text{
	overflow-x: hidden;
	border-radius: 0 0 25px 0;
	height: 438px;
	width: 747px;
	float: right;
	margin-top: 55px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.7), rgba(255, 70, 0, 0.9)); /*#fff, #fff, #fa7000);*/
}
.text p, .text2 p, .text3 p{
	font-size: 17px;
	padding: 5px 0px 0px 10px;
}	
.owner, .admins1, .admins2{
	background-image: url(../img/purple4.jpg);
	background-size: cover;
	width: 297px;
	margin-left: 52px;
	text-align: center;
}
.owner h2{
	font-size: 47px;
	font-weight: bold;
	padding-left: 557px;
}	
.owner h3{
	padding-top: 7px;
	font-size: 19px;
	color: #00fff0;
}
.owner h3 a{
	color: #00fff0;
	text-decoration: none;
	display: inline-block;
	position: relative;
}
.owner h3 a::before{
	display: block;
	position: absolute;
	content: "";
	height: 2px;
	width: 0;
	background-color: #00fff0;
	transition: width .3s ease-in-out, left .3s ease-in-out;
	left: 50%;
	bottom: 0;
}
.owner h3 a::after{
	display: block;
	position: absolute;
	content: "";
	height: 2px;
	width: 0;
	background-color: #00fff0;
	transition: width .3s ease-in-out;
	left: 50%;
	bottom: 0;
}	
.owner h3 a:hover::before,
.admins1 h3 a:hover::before,
.admins2 h3 a:hover::before{
	width: 50%;
	left: 0;
}
.owner h3 a:hover::after,
.admins1 h3 a:hover::after,
.admins2 h3 a:hover::after{
	width: 50%;
}
.owner h3:nth-child(5){
	padding-bottom: 50px;
}
.admins-fon{
	position: relative;
	background: rgba(255, 70, 0, 0.7);/*background-color: #fa7000;*/
	border: 2px solid #ff4600;
	border-radius: 25px;
	margin-bottom: 50px;
}
.text2{
	overflow-x: hidden;
	border-radius: 0 0 25px 0;
	height: 409px;
	width: 747px;
	float: right;
	margin-top: 55px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.7), rgba(0, 255, 240, 0.9)); /*#fff, #fff, #00ff00);*/
} 
.admins1{
	background-image: url(../img/orangered2.jpg);
}
.admins1 h3, .admins2 h3{
	padding-top: 7px;
	font-size: 19px;
	color: #fff;
}
.admins1 h3 a, .admins2 h3 a{
	color: #fff;
	text-decoration: none;
	display: inline-block;
	position: relative;
}	
.admins1 h3 a::before, .admins2 h3 a::before{
	display: block;
	position: absolute;
	content: "";
	height: 2px;
	width: 0;
	background-color: #fff;
	transition: width .3s ease-in-out, left .3s ease-in-out;
	left: 50%;
	bottom: 0;
}
.admins1 h3 a::after, .admins2 h3 a::after{
	display: block;
	position: absolute;
	content: "";
	height: 2px;
	width: 0;
	background-color: #fff;
	transition: width .3s ease-in-out;
	left: 50%;
	bottom: 0;
}	
.admins1 h4{
	font-size: 47px;
	font-weight: bold;
	padding-left: 498px;
}
.admins1 h5{
	padding-top: 7px;
	font-size: 19px;
	color: #fff;
	padding-bottom: 50px;
}
.admins-fon2{
	position: relative;
	background: rgba(0, 255, 240, 0.7);/*background-color: #00ff00;*/
	border: 2px solid #00fff0;
	border-radius: 25px;
}
.text3{
	overflow-x: hidden;
	height: 409px;
	width: 747px;
	border-radius: 0 0 25px 0;
	float: right;
	margin-top: 55px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.7), rgba(0, 255, 0, 0.9)); /*#fff, #fff, #00fff0);*/
}
.admins2{
	background-image: url(../img/lime1.jpg);
}
.admins2 h4{
	font-size: 47px;
	font-weight: bold;
	padding-left: 498px;
}
.admins2 h5{
	padding-top: 7px;
	font-size: 19px;
	color: #fff;
	padding-bottom: 50px;
}
.images, .images2{
	border:1px solid #ddd; 
	border-radius: 50%;
	box-shadow: 0 2px 5px #aaa;
	top: 0; left: 0; bottom: 0; right: 0;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;    
}
.images:hover, .images2:hover{
	border-radius: 3px;
}
#upbutton{
    background-image: url(../img/up.png);
    background-repeat: no-repeat;
    height: 37px;
    width: 63px;
    bottom: 55px;
    right: 30px;
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 999;
}	
@media screen and (max-width: 1117px){
	.center-fon{
		margin: 125px 25px 25px 25px; 
	}
	.admins-fon, .admins-fon2{
		margin: 25px; 
	}
	.text, .text2, .text3{
		height: 100%;
		width: 100%;
		border-radius: 0;
	}
	.owner, .admins1, .admins2{
		margin: 0 auto;
		/*visibility: hidden;*/
	}
	.owner h2{
		font-size: 40px;
		top: 5px;
		position: absolute;
		padding-left: 50px;
	}
	.admins1 h4, .admins2 h4{
		top: 11px;
		position: absolute;
		font-size: 30px;
		padding-left: 31px;
	}
	#upbutton{
		background-image: url(../img/up2.png);
    	height: 25px;
    	width: 43px;
    	right: 10px;
    	bottom: 10px;
	}
}	